@use "./process-panel.scss";

/*左边工具栏以及编辑节点的样式*/
@import "bpmn-js-token-simulation/assets/css/bpmn-js-token-simulation.css";
@import "bpmn-js-token-simulation/assets/css/font-awesome.min.css";
@import "bpmn-js-token-simulation/assets/css/normalize.css";
@import "bpmn-js/dist/assets/diagram-js.css";
@import "bpmn-js/dist/assets/bpmn-font/css/bpmn.css";
@import "bpmn-js/dist/assets/bpmn-font/css/bpmn-codes.css";

.containers {
  position: absolute;
  top: 20px;
  left: 220px;
  background-color: #ffffff;
  width: calc(100% - 240px);
  height: calc(100% - 40px);
  display: grid;
  grid-template-columns: 1fr 400px;
  grid-template-rows: 1fr;

  .process-left {
    padding: 5px 0 10px 10px;
  }

  .canvas {
    width: 100%;
    height: calc(100% - 40px);
    background: url()
      repeat !important;
  }

  .panel {
    position: absolute;
    right: 0;
    top: 50px;
    width: 300px;
  }
  // .bjs-powered-by {
  //   display: none;
  // }

  .bjs-container .djs-palette {
    border: solid 1px var(--palette-border-color);
  }

  .toolbar__header {
    width: 100%;
    min-height: 36px;

    .el-button {
      text-align: center;
    }

    .el-button-group {
      margin: 4px;
    }

    .el-tooltip__popper {
      .el-button {
        width: 100%;
        text-align: left;
        padding-left: 8px;
        padding-right: 8px;
      }

      .el-button:hover {
        background: rgba(64, 158, 255, 0.8);
        color: #ffffff;
      }
    }
  }
}
